package com.dao;

import com.model.DeviceRelationAppVersion;
import com.model.PlacedHospitalRelationProduct;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeviceRelationAppVersionMapper {


    int insert(DeviceRelationAppVersion record);

    int updateByPrimaryKeySelective(DeviceRelationAppVersion record);

    DeviceRelationAppVersion selectByPrimaryKey(Long id);

    DeviceRelationAppVersion selectByDeviceId(@Param("deviceId") Long deviceId);

    List<DeviceRelationAppVersion> selectByCondition(DeviceRelationAppVersion recode);

}